package edu.spec.wyn.week08.class2;

public class TestOne {
    public static void main(String[] args) {

        Bear bear = new Bear("北极熊", "鱼", "北极");
        Frog frog = new Frog("青蛙", "害虫", "田里");
        System.out.println(bear.wholeLife());
        System.out.println(frog.wholeLife());
    }
}
